package com.linkey.demo;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * @author zhujh
 */
@SpringBootApplication
@RefreshScope
@EnableDiscoveryClient
//@MapperScan(basePackages = "com.linkey.demo.services.*.mapper")
@Slf4j
public class DemoMain {
    public static void main(String[] args) {
        SpringApplication.run(DemoMain.class, args);
        log.info("demo服务启动");
    }
}
